function denglu() {
		var user={
			userName:$("#userName").val(),
			pwd:$("#pwd").val()
		}
		$.ajax({
			async : false,
			cache : false,
			type : 'POST',
			
//			contentType : "application/json",
			url : "users/login" , //请求的action路径
			
			data :user,
			
			error : function() {//请求失败处理函数  
				alert('请求参数错误！');
			},
			success : function(data) { //请求成功后处理函数。    
				if(data.msg !=null){
					alert(data.msg);
				}else{
					$("#login_box").hide();
					$("#bg_color").hide();
					location.reload();
				}
				
			}
		});

	}

	function zhuCe() {
		var zhuce = document.getElementById("zhuce_box");
		var bg_filter = document.getElementById("bg_zhuce");
		zhuce.style.display = "block";
		bg_filter.style.display = "block";
	}
	function deleteZhuce() {
		var del = document.getElementById("zhuce_box");
		var bg_zhuce = document.getElementById("bg_zhuce");
		bg_zhuce.style.display = "none";
		del.style.display = "none";
	}
	
	function chuangjianyonghu() {
		var zhuce = document.getElementById("zhuce_box");
		var bg_zhuce = document.getElementById("bg_zhuce");
		bg_zhuce.style.display = "none";
		zhuce.style.display = "none";
	}
	
	function xinxi_box() {
		$("#zhuce_box").hide();
		$("#xinxi_box").show();
		
	}
	function deleteXinxi() {
		$("#xinxi_box").hide();
		$("#bg_zhuce").hide();
	}
	
	function yonghuzhuce(){
		var user={
				userName:$("#userName_zhuce").val(),
				pwd:$("#pwd_zhuce").val(),
				realName:$("#xingming_zhuce").val(),
				birthday:$("#shengri_zhuce").val(),
				tel:$("shouji_zhuce").val()
			}
	
		$.ajax({
			async : false,
			cache : false,
			type : 'POST',
			url:"users/zhuce",
			data: user,
			error:function(){
				alert("注册失败！");
			},
			success:function(){
				alert("注册成功！");
			}
				
		});
	}
	